package com.remon.quartz.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * 简单属性触发器
 *
 * @author remon
 * @create 2018-09-09 11:19
 **/
@Entity
@Table(name = "QRTZ_SIMPROP_TRIGGERS")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class QrtzSimpropTrigger {

    /**
     * 设计器名称
     */
    @Id
    @Column(name = "SCHED_NAME")
    private String schedName;
    /**
     * 触发器名称
     */
    @Column(name = "TRIGGER_NAME")
    private String triggerName;
    /**
     * 触发器组别
     */
    @Column(name = "TRIGGER_GROUP")
    private String triggerGroup;
    /**
     * 字符串属性1
     */
    @Column(name = "STR_PROP_1")
    private String strProp1;
    /**
     * 字符串属性2
     */
    @Column(name = "STR_PROP_2")
    private String strProp2;
    /**
     * 字符串属性3
     */
    @Column(name = "STR_PROP_3")
    private String strProp3;
    /**
     * int 属性1
     */
    @Column(name = "INT_PROP_1")
    private Integer intProp1;
    /**
     * int 属性2
     */
    @Column(name = "INT_PROP_2")
    private Integer intProp2;
    /**
     * long 属性 1
     */
    @Column(name = "LONG_PROP_1")
    private Long longProp1;
    /**
     * long 属性2
     */
    @Column(name = "LONG_PROP_2")
    private Long longProp2;
    /**
     * 浮点型字段1
     */
    @Column(name = "DEC_PROP_1")
    private BigDecimal decProp1;
    /**
     * 浮点型字段2
     */
    @Column(name = "DEC_PROP_2")
    private BigDecimal decProp2;
    /**
     * bool 型字段1
     */
    @Column(name = "BOOL_PROP_1")
    private String boolProp1;
    /**
     * bool 型字段2
     */
    @Column(name = "BOOL_PROP_2")
    private String boolProp2;
}
